第4步:向另一个方向创建一个事件。

  • 点击 ,将 Right Key 拖动到程序底部。
  • .move_right() 中的整数更改为 100
  • 然后在 right_key 事件中让 dancer Flip Right Left 。确保带着 ···· 缩进4个空格。
  • 在事件中, Wait 1 钟,然后使用另一个 Flip Right Left 进行翻转动作。

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)